func net/http.bodyAllowedForStatus

10 uses

	net/http (current package)
		response.go#L315: 	if r1.ContentLength == 0 && !chunked(r1.TransferEncoding) && !contentLengthAlreadySent && bodyAllowedForStatus(r.StatusCode) {
		server.go#L1323: 	if w.handlerDone.Load() && !trailers && !hasTE && bodyAllowedForStatus(w.status) && !header.has("Content-Length") && (!isHEAD || len(p) > 0) {
		server.go#L1340: 	if w.wants10KeepAlive && (isHEAD || hasCL || !bodyAllowedForStatus(w.status)) {
		server.go#L1432: 	if bodyAllowedForStatus(code) {
		server.go#L1462: 	if w.req.Method == "HEAD" || !bodyAllowedForStatus(code) || code == StatusNoContent {
		server.go#L1568: 	return bodyAllowedForStatus(w.status)
		transfer.go#L456: func bodyAllowedForStatus(status int) bool {
		transfer.go#L479: 	case !bodyAllowedForStatus(status):
		transfer.go#L550: 		if realLength == -1 && !t.Chunked && bodyAllowedForStatus(t.StatusCode) {
		transfer.go#L560: 		if isResponse && (noResponseBodyExpected(t.RequestMethod) || !bodyAllowedForStatus(t.StatusCode)) {